package com.nce.dto;

import java.io.Serializable;
import java.util.List;

public class Grammer implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 4106078625859847668L;
	private int id;
	private int idx;
	private int bidx;
	private int eidx;
	private String typeName;
	private List<Grammer> gs;
	
	
	
	
	@Override
	public String toString() {
		return "Grammer [id=" + id + ", idx=" + idx + ", bidx=" + bidx
				+ ", eidx=" + eidx + ", typeName=" + typeName + ", gs=" + gs
				+ "]";
	}
	public Grammer(int idx, int bidx, int eidx, String typeName, List<Grammer> gs) {
		super();
		this.idx = idx;
		this.bidx = bidx;
		this.eidx = eidx;
		this.typeName = typeName;
		this.gs = gs;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	
	
	public int getIdx() {
		return idx;
	}
	public void setIdx(int idx) {
		this.idx = idx;
	}
	public int getBidx() {
		return bidx;
	}
	public void setBidx(int bidx) {
		this.bidx = bidx;
	}
	public int getEidx() {
		return eidx;
	}
	public void setEidx(int eidx) {
		this.eidx = eidx;
	}
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public List<Grammer> getGs() {
		return gs;
	}
	public void setGs(List<Grammer> gs) {
		this.gs = gs;
	}
	
	
	
	
	
}
